package oop5;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTest3 {
    public static void main(String[] args) {
        Pet p = new Pet("小花花", 100, 39, "公");
        p.print();
        int h = p.hashCode();
        System.out.println(h);
        Object o = new Pet("da花花", 100, 39, "公");

        System.out.println(o);

    }
}
